**** dT 0.000 * top TEST ../../../../bin/varnishtest/tests/s00002.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:34783 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub **** top extmacro def topsrc=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/../.. **** top macro def testdir=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest/../../../../bin/varnishtest/tests **** top macro def tmpdir=/home/linux1/VT/_vtest_tmp/vtc.644877.3710236d **** top macro def vtcid=vtc.644877.3710236d ** top === varnishtest "Check grace with sick backends" * top VTEST Check grace with sick backends ** top === barrier b1 cond 2 ** top === barrier b2 cond 2 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=38799 **** s1 macro def s1_sock=127.0.0.1:38799 * s1 Listen on 127.0.0.1:38799 ** top === varnish v1 -vcl { **** dT 0.002 ** s1 Started on 127.0.0.1:38799 (1 iterations) **** dT 0.014 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.644877.3710236d/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 33207' -P /home/linux1/VT/_vtest_tmp/vtc.644877.3710236d/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs *** v1 CMD: cd /home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.644877.3710236d/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 33207' -P /home/linux1/VT/_vtest_tmp/vtc.644877.3710236d/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs *** v1 PID: 644896 **** v1 macro def v1_pid=644896 **** v1 macro def v1_name=/home/linux1/VT/_vtest_tmp/vtc.644877.3710236d/v1 **** dT 0.036 *** v1 debug|Info: Working directory not mounted on tmpfs partition *** v1 debug|Debug: Version: varnish-trunk revision c412418261f2a64e48b36c93536358bc53f00ef7 *** v1 debug|Debug: Platform: Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit *** v1 debug|200 329 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-trunk revision c412418261f2a64e48b36c93536358bc53f00ef7 *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.132 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 7 *** v1 CLI RX 107 **** v1 CLI RX|rvebzaxgdbshsclvjhpcjdwpkvlrvddj **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** v1 CLI TX|auth 67d1b5865af859db3500982030794d9bb97c212f8884183ebcf17eb384046ac0 **** dT 0.137 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-trunk revision c412418261f2a64e48b36c93536358bc53f00ef7 **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.138 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX| **** v1 CLI TX|\tbackend b { **** v1 CLI TX|\t\t.host = "127.0.0.1"; **** v1 CLI TX|\t\t.port = "38799"; **** v1 CLI TX|\t\t.probe = { **** v1 CLI TX|\t\t\t.url = "/"; **** v1 CLI TX|\t\t\t.timeout = 30ms; **** v1 CLI TX|\t\t\t.interval = 1s; **** v1 CLI TX|\t\t\t.window = 2; **** v1 CLI TX|\t\t\t.threshold = 1; **** v1 CLI TX|\t\t\t.initial = 0; **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tset beresp.ttl = 1s; **** v1 CLI TX|\t\tset beresp.grace = 1m; **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.238 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.343 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.446 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.550 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.654 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.754 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.855 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.957 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.061 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.162 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.264 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.365 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.470 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.571 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.673 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.777 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.877 *** v1 CLI RX 200 **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 **** dT 1.881 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.883 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 1.949 *** v1 debug|Debug: Child (644909) Started **** dT 1.992 *** v1 debug|Child launched OK **** dT 2.000 *** s1 accepted fd 5 127.0.0.1 51428 **** dT 2.001 ** s1 === rxreq **** s1 rxhdr|GET / HTTP/1.1\r **** s1 rxhdr|Host: 127.0.0.1\r **** s1 rxhdr|Connection: close\r **** s1 rxhdr|\r **** s1 rxhdrlen = 54 **** s1 http[ 0] |GET **** s1 http[ 1] |/ **** s1 http[ 2] |HTTP/1.1 **** s1 http[ 3] |Host: 127.0.0.1 **** s1 http[ 4] |Connection: close **** s1 bodylen = 0 ** s1 === expect req.url == "/" **** s1 EXPECT req.url (/) == "/" match ** s1 === txresp -proto HTTP/1.0 -hdr "nbr: 1" -body "hi" **** s1 txresp|HTTP/1.0 200 OK\r **** s1 txresp|nbr: 1\r **** s1 txresp|Date: Thu, 16 Jan 2025 18:32:30 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|Content-Length: 2\r **** s1 txresp|\r **** s1 txresp|hi ** s1 === accept **** s1 Accepting **** dT 2.014 *** v1 debug|Info: Child (644909) said Child starts *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status **** dT 2.019 *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address **** dT 2.073 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 45841 **** v1 CLI TX|debug.xid 1000 **** dT 2.088 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1737052348.925242/vgc.so 1auto **** v1 vsl| 0 Backend_health - b Went sick -------- 0 1 2 0.000000 0.000000 "" **** v1 vsl| 0 Backend_health - b Still sick -------- 0 1 2 0.000000 0.000000 "" **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1737052348.925242/vgc.so" as "vcl1" **** v1 vsl| 0 CLI - Rd vcl.use "vcl1" **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 Backend_health - b Went healthy 4---X-RH 1 1 2 0.005284 0.005284 "HTTP/1.0 200 OK" **** v1 vsl| 0 CLI - Rd start **** v1 vsl| 0 Debug - sockopt: Setting SO_LINGER for a0=127.0.0.1:45841 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:45841 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:45841 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:45841 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:45841 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:45841 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:45841 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:45841 **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 45841 **** dT 2.129 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 2.190 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** dT 2.308 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 45841 ** v1 Listen on 127.0.0.1 45841 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=45841 **** v1 macro def v1_sock=127.0.0.1:45841 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=45841 **** v1 macro def v1_a0_sock=127.0.0.1:45841 ** top === barrier b1 sync **** top Barrier(b1) wait 1 of 2 **** dT 2.398 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 45841 **** dT 3.049 *** s1 Accepted socket fd is 5 ** s1 === rxreq **** s1 rxhdrlen = 0 ---- s1 HTTP header is incomplete **** dT 3.116 **** v1 vsl| 0 Backend_health - b Still healthy 4------- 1 1 2 0.000000 0.005284 "Open timeout 0.030s exceeded by 0.012s" **** dT 3.133 * top RESETTING after ../../../../bin/varnishtest/tests/s00002.vtc ** s1 Waiting for server (4/-1) ** v1 Wait **** v1 CLI TX|panic.show **** dT 3.186 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Debug: Stopping Child **** dT 3.221 **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 3.291 *** v1 debug|Info: Child (644909) said Child dies *** v1 debug|Info: Child (644909) ended *** v1 debug|Debug: Child cleanup complete *** v1 debug|Info: manager dies **** v1 STDOUT EOF **** dT 3.322 ** v1 WAIT4 pid=644896 status=0x0000 (user 0.232176 sys 0.050487) * top TEST ../../../../bin/varnishtest/tests/s00002.vtc FAILED # top TEST ../../../../bin/varnishtest/tests/s00002.vtc FAILED (3.323) exit=2 FAIL tests/s00002.vtc (exit status: 2)